package cn.sumpu.app.wlcity.biz;

import java.util.List;

import cn.sumpu.app.wlcity.domain.Code;
import cn.sumpu.app.wlcity.domain.Seckill;
import cn.sumpu.app.wlcity.domain.SeckillPhone;
import cn.sumpu.app.wlcity.domain.SeckillTime;
import cn.sumpu.app.wlcity.exception.AppBusinessException;

public interface SeckillBiz {
	public List<Seckill> getSeckillList(Integer page,String seckillType) throws AppBusinessException;
	public void insertSeckillTime(SeckillTime seckillTime)throws AppBusinessException;
	public void insertSeckill(Seckill seckill)throws AppBusinessException;
	public int getSeckillListCount(String seckillType) throws AppBusinessException;
	public void deleteSeckill(String identifier) throws AppBusinessException;
	public void deleteSeckillTime(String seckillId) throws AppBusinessException;
	public Seckill selectSeckill(String seckillId) throws AppBusinessException;
	public void updateSeckill(Seckill seckill) throws AppBusinessException;
	public List<SeckillPhone> getSeckillPhoneList(Integer page,String seckillId) throws AppBusinessException;
	public int getSeckillPhoneListCount(String seckillId) throws AppBusinessException;
	public List<Seckill> getSeckillListFive(Integer page,String seckillType) throws AppBusinessException;
	public void insertSeckillPhone(SeckillPhone seckillPhone)throws AppBusinessException;
	public String seckill(String seckillId,String phoneNum)throws AppBusinessException;
	public Boolean isSeckillOver(String seckillId)throws AppBusinessException;
	public void initCount();
	
	public Code getSkillTry()throws AppBusinessException;
	
	public void updateSkillTry(String content)throws AppBusinessException;
}
